// 用来管理所有的请求接口
import service from "./request";

// 登录接口和数
export const Login = (data) => {
    return service({
        method: 'post',
        url: '/jeecg-boot/sys/login',
        data
    })
}
// 验证码
export const captcha = (data) => {
    return service({
        method: 'get',
        url: `/jeecg-boot/sys/randomImage/${data.data}?_t=${data.sjc}`,
    })
}
